
namespace ZR.Model.Business.Dto
{
    /// <summary>
    /// 部门配置表查询对象
    /// </summary>
    public class DeptQueryDto : PagerInfo 
    {
    }

    /// <summary>
    /// 部门配置表输入输出对象
    /// </summary>
    public class DeptDto
    {
        [Required(ErrorMessage = "部门ID不能为空")]
        public long DeptId { get; set; }

        public long? ParentId { get; set; }

        public string Ancestors { get; set; }

        [Required(ErrorMessage = "部门名称不能为空")]
        public string DeptName { get; set; }

        public int? OrderNum { get; set; }

        public string Leader { get; set; }

        public string Phone { get; set; }

        public string Email { get; set; }

        public int? Status { get; set; }

        public int? DelFlag { get; set; }

        public string CreateBy { get; set; }

        public DateTime? CreateTime { get; set; }

        public string UpdateBy { get; set; }

        public DateTime? UpdateTime { get; set; }

        public string Remark { get; set; }



        [ExcelColumn(Name = "部门状态:0正常,1停用")]
        public string StatusLabel { get; set; }
    }
}